package com.wn.inventory.service;

import com.wn.common.PageBean;
import com.wn.entity.BorrowWarehouseApplication;
import com.wn.inventory.vo.BorrowWarehouseApplicationVo;
import org.springframework.stereotype.Repository;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @ author     ：NST
 * @ date       ：Created in 2022/10/22 14:05
 * @ description：借用出库申请表Mapper
 * @ modified By：
 * @ version:
 */
public interface BorrowWarehouseApplicationService {
    /**
     * @param borrowWarehouseApplication
     * @return void
     * @ author nst
     * @ date 2022/10/22 14:06
     * @ Description 增加借用出库信息
     */
    void insert(BorrowWarehouseApplication borrowWarehouseApplication, HttpServletRequest request);
    /**
     * @param borrowWarehouseApplicationVo
     * @return java.util.List<com.wn.entity.BorrowWarehouseApplication>
     * @ author nst
     * @ date 2022/10/22 14:07
     * @ Description 多条件分页查询借用出库申请信息
     */
    PageBean<BorrowWarehouseApplication> getByCondition(BorrowWarehouseApplicationVo borrowWarehouseApplicationVo);
}
